package com.example.takeoff.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.type.JdbcType;

import java.sql.JDBCType;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ddl")
public class DDL
{
    @TableId("id")
    private Integer id;
    private String userid;



    private Date ddlTime;
    private boolean cycle;
    @TableField("ddl_content")
    private String ddl;
    private boolean star;



    private Date createTime;
    //@TableLogic
    @TableField("deleted")
    private Integer deleted;
    private String username;






}

